package org.neuedu.chapter03_0611;

public class CycleDemo02 {
    public static void main(String[] args) {
        // 控制台 打印数字 1-100
        int i = 1;
        while (i < 101) {
            System.out.println(i);
            i++;
        }

        for (int j = 0; j < 100; j++) {
            System.out.println(j+1);
        }
    }
}
